package com.ethink.order.api.info;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.util.Date;

/**
 * TOB销售单 INFO实体
 *
 * @author default
 * @date 2022-11-16
 */
@Data
public class TobSaleOrderInfo {

    @Schema(description ="主键")
    private Long id;

    @Schema(description ="TOB销售单号")
    private String orderNo;

    @Schema(description ="枚举 订单状态:1-草稿(s1)|2-审批中(s2)|3-待物流运输(s3)|4-待结算(s4)|5-完成(s5)")
    private Integer orderStatus;

    @Schema(description ="PO单号")
    private String poOrderNo;

    @Schema(description ="PR单号")
    private String prOrderNo;

    @Schema(description ="收货分仓编码")
    private String inSubWarehouseCode;

    @Schema(description ="收货分仓名称")
    private String inSubWarehouseName;

    @Schema(description ="发货分仓编码")
    private String outSubWarehouseCode;

    @Schema(description ="发货分仓名称")
    private String outSubWarehouseName;

    @Schema(description ="货币编码")
    private String currencyCode;

    @Schema(description ="货币名称")
    private String currencyName;

    @Schema(description ="订单来源")
    private String saleChannel;

    @Schema(description ="订单来源下级")
    private String saleSubChannel;

    @Schema(description ="制单人账号")
    private String createUserCode;

    @Schema(description ="制单人名称")
    private String createUserName;

    @Schema(description ="审批流程ID")
    private String flowId;

    @Schema(description ="数据删除标志(0-正常,1-删除)")
    private Integer isDeleted;

    @Schema(description ="数据创建时间戳")
    private Date createTime;

    @Schema(description ="数据更新时间戳")
    private Date updateTime;

    @Schema(description ="创建人")
    private String createUser;

    @Schema(description ="修改人")
    private String updateUser;

    @Schema(description ="备注信息")
    private String remark;

    @Schema(description ="主仓编码")
    private String warehouseCode;

    @Schema(description ="主仓名称")
    private String warehouseName;


}
